/**
 *
 */
package demo.dcs;


import demo.java.lang.management.jvm.LocalAsySendImpl2;

/**
 * @author mandy
 *
 */
public class LocalAsySendHolder {

	private static LocalAsySendImpl2 instance2;

	private static LocalAsySendImpl2 instance3;


	private LocalAsySendHolder() {
	}
	public static synchronized LocalAsySendImpl2 getInstance2() {
		if(instance2 == null){
			instance2 = new LocalAsySendImpl2();
		}
		return instance2;
	}
	public static synchronized LocalAsySendImpl2 getNoXmlInstance(int spanSize) {
		if (instance3==null) {
			instance3 = new LocalAsySendImpl2(spanSize);
		}
		return instance3;
	}
}
